package com.taotao.common;

/**
 * Created by 13 on 2017/6/26.
 */
public class Constants {

	// 常规请求响应错误代码
	public static final int RESULT_CODE_SUCCESS = 200; // 成功处理请求
	public static final int RESULT_CODE_BAD_REQUEST = 412; // bad request
	public static final int RESULT_CODE_SERVER_ERROR = 500; // 没有对应结果

	// 登陆验证信息   
	/**
	 * 0 未授权
	 */
	public static final int RESULT_CODE_LOGIN_0 = 0;
	/**
	 * 1 账号问题
	 */
	public static final int RESULT_CODE_LOGIN_1 = 1;
	/**
	 * 2 密码错误
	 */
	public static final int RESULT_CODE_LOGIN_2 = 2;
	/**
	 * 3 账号密码错误
	 */
	public static final int RESULT_CODE_LOGIN_3 = 3;
	
	
	/**
	 * 页面信息对应的字段
	 */
	public static final String ATT_PAGEINFO = "pageinfo";
}
